<html>
<head>
<meta name="generator" content="PhpED Version 5.5 (Build 5517)">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title><{$title}></title>
<link rel="stylesheet" rev="stylesheet" href="/qsf_mvc/app/views/css/cSite_common.css" type="text/css" media="screen" />
<link rel="stylesheet" rev="stylesheet" href="/qsf_mvc/app/views/css/style.css" type="text/css" media="screen" />
</head>
<body>
<{$desc['table'].' '.$desc['engine'].' '.$desc['charset']}><br>
<form action='/qsf_mvc/index/index/filed/' method="post">
<input type="hidden" name="qsf_db"  value="<{$desc['db']}>">    
<input type="hidden" name="qsf_table"  value="<{$desc['table']}>">
<input type="hidden" name="qsf_charset"  value="<{$desc['charset']}>">
唯一标识：
<{foreach key=$k item=$v from=$desc['index']}>
<{if ($v['type']  == 'primary' || $v['type']  == 'unique') && $v['value'][0] == 1}>
    <{$v['indexname']}> <input type="radio" name="ukey"    <{if $v['type']  == 'primary'}>checked="checked"<{/if}>       value="<{$v['indexname']}>">
<{/if}>
<{/foreach}>   
或  <input type="txt"   name="ukey1"   value="" size="1"> 
<table width="100%">
<tr><th>字段</th><th>简称</th><th>表单类型</th><th>表单长度</th><th>列表字段</th><th>添加字段</th><th>必填字段</th><th>修改字段</th><th>内容字段</th></tr>  
<{foreach key=$k item=$v from=$desc['columns']}>   
<tr align="center">
    <td align="left"><input type="hidden" name="<{$v['field']}>[enname]"  value="<{$v['field']}>"><{$v['field']}></td>  
    <td><input type="txt"      name="<{$v['field']}>[cnname]"  value="<{if $v['comment'] != '' }><{$v['comment']}><{else}><{$v['field']}><{/if}>" size="10"></td>
    <td><select name="<{$v['field']}>[form]" style="width:100px">
          <option value="text" selected="selected">单行文本框</option>
          <option value="id">特殊标识</option>
          <option value="password">密码框</option>
          <option value="hidden">隐藏域</option>
          <option value="select">下拉框</option>
          <option value="radio">单选框</option>
          <option value="checkbox">复选框</option>
          <option value="textarea">多行文本框</option>
          <option value="editor">编辑器</option>
          <option value="img">图片</option>
          <option value="flash">FLASH文件</option>
          <option value="file">文件</option>
          <option value="date">日期</option>
          <option value="color">颜色</option>
        </select>
    </td>
    <td><input type="txt"      name="<{$v['field']}>[formlength]"  value="<{$v['length']}>" size="1"></td>    
    <td><input type="checkbox" name="<{$v['field']}>[list]"    checked="checked"       value="1"></td>
    <td><input type="checkbox" name="<{$v['field']}>[add]"     checked="checked"       value="1"></td>
    <td><input type="checkbox" name="<{$v['field']}>[need]"  <{if $v['null'] == 'no'}>checked="checked"<{/if}>         value="1"></td> 
    <td><input type="checkbox" name="<{$v['field']}>[edit]"    checked="checked"       value="1"></td>
    <td><input type="checkbox" name="<{$v['field']}>[view]"    checked="checked"       value="1"></td>
</tr>
<{/foreach}>
</table>  
<input type="submit" name="submit" value="提交" /></span> 
</form> 
</body>
</html>



